package com.drug.mapper;


import com.drug.domain.User;

import com.drug.domain.UserR;
import com.drug.domain.UserRole;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRoleMapper {
  //��������ѯ
  List<UserR> selectUser(UserR userR);
  //��ҳ��ѯ
  List<User>selectPageUser();
  // �߼�ɾ��
  void deleteUser(Integer uId);
  //���
  int insertUser(@Param("userRole") UserRole UserRole);
  //�޸�֮ǰ�Ļ���
   User selectUserById(Integer id);
  //�޸�
  int updateUser(UserR userR);
  //字典 用户类型  查询
  List<UserR> selectDictionaryUser(UserR userR);


}